package com.example.network_sdk

import com.example.network_sdk.interceptor.SignInterceptor
import okhttp3.OkHttpClient
import retrofit2.Retrofit

class SignRetrofitImpl : BaseHttpRetrofitImpl() {
    override fun readTime(): Long {
        return 30
    }

    override fun connectTime(): Long {
        return 30
    }

    override fun writeTime(): Long {
        return 30
    }

    override fun createRetrofit(): Retrofit {
        val interceptor =SignInterceptor()
        val builder : OkHttpClient.Builder = createOkHttpBuilder()
        builder.addInterceptor(interceptor)
        return createRetrofit(builder.build())
    }
}